Skip to content

chore: update timeout references to support number type#1035

Merged
AbhishekA1509 merged 7 commits into
developfrom
chore/main-sync
Apr 9, 2026
Merged

chore: update timeout references to support number type#1035
AbhishekA1509 merged 7 commits into
developfrom
chore/main-sync

Conversation

@AbhishekA1509

@AbhishekA1509 AbhishekA1509 commented Apr 9, 2026

Copy link
Copy Markdown
Member

Description

This pull request includes several updates across the codebase, focusing on improving type safety for timeout references, updating Node.js version requirements, and enhancing the resource tree structure to support init containers in Pods. The most significant changes are summarized below:

Type safety improvements for timeout references:

  • Updated all usages of timeout references (e.g., useRef, local variables, and interface props) to use a union type of ReturnType<typeof setTimeout> | number for better type safety and compatibility across environments. This affects files such as ClipboardButton.tsx, UseRegisterShortcutProvider.tsx, BulkOperations.component.tsx, readOnlyTooltip.ts, and Table/types.ts. [1] [2] [3] [4] [5] [6] [7] [8]

Resource tree enhancements:

  • Modified the resource tree logic in IndexStore.tsx to add support for displaying both init containers and regular containers as child nodes under Pod nodes, and marked init containers with an isInitContainer flag for display purposes. [1] [2]

Dependency and environment updates:

  • Updated the Node.js version requirement in .nvmrc from v22 to v24.14.1 to ensure compatibility with latest features and security updates.
  • Bumped the package version in package.json from 1.23.4-pre-2 to 1.23.5-pre-1.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • This change requires a documentation update

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

  • Test A
  • Test B

Checklist

  • The title of the PR states what changed and the related issues number (used for the release note).
  • Does this PR require documentation updates?
  • I've updated documentation as required by this PR.
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas

@AbhishekA1509 AbhishekA1509 self-assigned this Apr 9, 2026
@AbhishekA1509 AbhishekA1509 merged commit 1eece41 into develop Apr 9, 2026
7 checks passed
@AbhishekA1509 AbhishekA1509 deleted the chore/main-sync branch April 9, 2026 07:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants